- /* existfil.cpp by K. Tsuru*/
- /************************************
- It returns whether the file exist or not.
- *************************************/
- #define _CRT_SECURE_NO_WARNINGS // for visual c++ since ver 2.19
- #include <stdio.h>
-
- bool ExistFile(const char* const fname){
- FILE* fp;
- fp = fopen(fname, "r"); // try to read
- if(fp == NULL) return false;
- fclose(fp);
- return true;
- }
existfil.cpp : last modifiled at 2015/09/06 13:37:06(399 bytes)
created at 2016/04/11 11:17:20
The creation time of this html file is 2017/10/07 10:54:15 (Sat Oct 07 10:54:15 2017).